<template>
  <div>
    <div class="top">
      <span class="span1">优音乐</span>
      <span class="span2"> 下载APP </span>
    </div>
    <div class="nav">
      <router-link to="/recommend" class="a">推荐</router-link>
      <router-link to="/hot" class="a">热歌榜</router-link>
      <router-link to="/search" class="a">搜索</router-link>
    </div>
    <div class="router-view">
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style>
.top {
  width: 100%;
  background-color: #ff4b00;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 6;
}
.nav{
  width: 100%;
  position: fixed;
  top: 80px;
  left: 0;
  z-index: 6;
  background-color: #fff;
}
.span1{
    color: white;
    font-size: 22px;
    margin-right: 160px;
    line-height: 80px;
    margin-left: 20px;
}
.span2{
    background-color: white;
    color: #ff4b00;
    border-radius: 16.5px;
    padding: 8px;
    line-height: 80px;
}
.a{
    font-size: 20px;
    height: 45px;
    width: 32%;
    line-height: 45px;
    text-align: center;
    display: inline-block;
}
.router-link-active{
    color: #ff4b00;
    border-bottom: 2px solid #ff4b00;
}
.router-view{
  margin-top: 125px;
}
</style>